package com.wwz.springcloud.alibaba.service;

import com.wwz.springcloud.entities.CommonResult;
import com.wwz.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

/**
* @Description:
* @create: 2020-09-16 16:14
* @update logs
* @throws Exception
*/
@Component
public class PaymentFallbackService implements PaymentService
{
    @Override
    public CommonResult<Payment> paymentSQL(Long id)
    {
        return new CommonResult<>(44444,"服务降级返回,---PaymentFallbackService",new Payment(id,"errorSerial"));
    }
}
